//
//  QDNewsTableViewCell+QDNewsModel.m
//  QDMetroClient
//
//  Created by YueWen on 2019/2/18.
//  Copyright © 2019 YueWen. All rights reserved.
//

#import "QDTextTableViewCell+QDTextListModel.h"
#import <objc/runtime.h>

@implementation QDTextTableViewCell (QDNewsModel)

- (void)setTextModel:(QDTextListModel *)newModel {
    objc_setAssociatedObject(self, @selector(textModel), newModel, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (QDTextListModel *)textModel {
    return objc_getAssociatedObject(self, _cmd);
}

@end
